/**
 * Copyright (C), 2020, JieYi Software System Co., Ltd.
 * All rights reserved.
 * FileName:       DataSourcePoolManager.java
 *
 * @Description:
 * @author: feiwe
 * Modification History:
 * Date         Author        Version        Discription
 * -------------------------------------------------------
 * 2020/11/20      feiwe                         add
 */


package com.fengwei.bean;

import com.alibaba.druid.pool.DruidDataSource;

import java.util.HashMap;
import java.util.Map;

public class DataSourcePoolManager {
    public final static String MYSQL_DRIVER = "com.mysql.cj.jdbc.Driver";

    public final static String POSTGRESQL_DRIVER = "org.postgresql.Driver";

    public final static String ORACLE_DRIVER = "oracle.jdbc.OracleDriver";

    private Map<String, DruidDataSource> dataSourcePoolManagerMap = new HashMap<>();

    public Map<String, DruidDataSource> getDataSourcePoolManagerMap() {
        return dataSourcePoolManagerMap;
    }

    public void setDataSourcePoolManagerMap(Map<String, DruidDataSource> dataSourcePoolManagerMap) {
        this.dataSourcePoolManagerMap = dataSourcePoolManagerMap;
    }
}
